Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache conda packages in GIthub Actions #466

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

Colelyman
Copy link
Contributor

This speeds up the Github Actions integration tests step.

* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
@kclem kclem merged commit 2781d40 into pinellolab:master Aug 1, 2024
3 checks passed
mbowcut2 pushed a commit to edilytics/CRISPResso2 that referenced this pull request Aug 15, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
mbowcut2 pushed a commit to edilytics/CRISPResso2 that referenced this pull request Oct 14, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
mbowcut2 pushed a commit to edilytics/CRISPResso2 that referenced this pull request Nov 8, 2024
* Try caching conda packages

* Try removing mamba version

* Fix path to point to correct env file

* Remove defaults channel

* List package versions

* Move ydiff install and change mamba to conda

* Pin to a modern pandas version

* Remove pip from env file

* Pin pip version and add ydiff install

* Add back in defaults channel and strict channel priority

* Remove strict priority and pip pin

* Try caching the env instead of packages

* Switch mamba to conda

* Update path to cache conda env

* Try caching the tests repo

* Add missing ) to tests SHA step

* Fix cache key and allow different branches to be set up

* Refactor deprecated echo command

* Move tests repo to different location for proper caching

* Fix spelling mistake and try to fix test caching

* Add branch to tests cache name

* Always save the tests cache

* Don't always save the tests cache (doesn't seem to work)

* Remove caching of test repo, doesn't actually improve speed

* Ident the steps and remove checking out tests repo into separate directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants